package cn.sc.summer.admin.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 类名：服务配置项
 *
 * @author a-xin
 * @date 2023/12/7 16:22
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "admin.email")
public class ServerProperties {

    /**
     * email忽略服务
     */
    private List<String> ignore;

}

